package com.bootdo.market.service.impl;

import com.bootdo.market.dao.ProductChannelRelationshipDao;
import com.bootdo.market.domain.ProductChannelRelationshipDO;
import com.bootdo.market.service.ProductChannelRelationshipService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class ProductChannelRelationshipServiceImpl implements ProductChannelRelationshipService {
	@Autowired
	private ProductChannelRelationshipDao productChannelRelationshipDao;
	
	@Override
	public ProductChannelRelationshipDO get(Integer id){
		return productChannelRelationshipDao.get(id);
	}
	
	@Override
	public List<ProductChannelRelationshipDO> list(Map<String, Object> map){
		return productChannelRelationshipDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return productChannelRelationshipDao.count(map);
	}
	
	@Override
	public int save(ProductChannelRelationshipDO productChannelRelationship){
		return productChannelRelationshipDao.save(productChannelRelationship);
	}
	
	@Override
	public int update(ProductChannelRelationshipDO productChannelRelationship){
		return productChannelRelationshipDao.update(productChannelRelationship);
	}
	
	@Override
	public int remove(Integer id){
		return productChannelRelationshipDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return productChannelRelationshipDao.batchRemove(ids);
	}
	
}
